package cn.com.css.taxInspection.system.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import cn.com.css.taxInspection.system.entity.SysParameterEntity;
import cn.com.css.taxInspection.common.result.DataResult;
import cn.com.css.taxInspection.system.service.SysParameterService;

import org.springframework.stereotype.Controller;
import io.swagger.annotations.ApiOperation;


@Controller
@RequestMapping("/sys/")
public class SysParameterController {
	@Autowired
	private SysParameterService sysParameterService;

	@ApiOperation(value = "查看")
	@PostMapping("parameter/info")
	@ResponseBody
    public DataResult add(@RequestBody SysParameterEntity sysParameter) {
		return DataResult.success(sysParameterService.getById(sysParameter.getId()));
	}

}
